<?php
/**
 # com_jvframework - JV Framework
 # @version		1.6.x
 # ------------------------------------------------------------------------
 # author    Open Source Code Solutions Co
 # copyright Copyright (C) 2011 joomlavi.com. All Rights Reserved.
 # @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL or later.
 # Websites: http://www.joomlavi.com
 # Technical Support:  http://www.joomlavi.com/my-tickets.html
-------------------------------------------------------------------------*/

// No direct access to this file
defined('_JEXEC') or die('Restricted access');

/**
 * Script file of jvframework
 */
class com_jvframeworkInstallerScript
{
	/**
	 * method to install the component
	 *
	 * @return void
	 */
	function install($parent) 
	{	   
	    require_once($parent->get('parent')->getPath('source').'/admin/installation/jvinstall.php');
		// $parent is the class calling this method
		JVInstall::process($parent);
	}
    
    /**
	 * method to update the component
	 *
	 * @return void
	 */
	function update($parent) 
	{	   
	    require_once($parent->get('parent')->getPath('source').'/admin/installation/jvinstall.php');
		// $parent is the class calling this method
		JVInstall::process($parent);
		
	}
}
